<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<div class="inside-content">
		<div class="followers-listing">
		<ol>
			<c:forEach var="friend" items="${sysUsers}">
				<li class="vcard"> <a href="friend_friends_home.htm?userId=${friend.userId}" class="url"> <img src="${photoPath}${friend.userPhoto}" class="photo">
					<strong class="nickname">${friend.petName}</strong>
					<span class="fn n"><span class="given-name">${friend.relName}</span></span></a>
					<c:choose>
						<c:when test="${friend.userId == user.userId}">
							<div class="tie-stuff-list"><span class="myself">本人</span></div>
						</c:when>
						
						<c:when test="${friend.myAttendTime != null }">
							<div class="tie-stuff-list"><a class="followed" href="javascript:cancelFriend('${friend.userId}',this)" id="user_${friend.userId}">已贴条</a></div>
							<div class="tie-stuff-date"><span>贴条时间:<fmt:formatDate pattern="yyyy-MM-dd HH:mm:ss" value="${friend.myAttendTime}"/></span></div>
						</c:when>
						
						<c:otherwise>
							<div class="tie-stuff-list"><a class="follow" href="javascript:showGroup('${friend.userId}',this)" id="user_${friend.userId}">贴条</a></div>
							<div class="tie-stuff-date"></div>
						</c:otherwise>
					</c:choose>
				</li>
			</c:forEach>
		</ol>
	</div>
</div>
<input type="hidden" id="search_size" value="${listLength }"/>	


